package com.itheima.leyou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(
        scanBasePackages = {"com.itheima.leyou",
                "com.itheima.leyou.common.advice",
                "com.itheima.leyou.client"})
@EnableFeignClients(basePackages = "com.itheima.leyou.client")
public class LySearchApplication {
    public static void main(String[] args) {
        SpringApplication.run(LySearchApplication.class);
        System.out.println("----ly-search启动成功-----");
    }
}
